package com.bytic.miaosha.service;

import com.bytic.miaosha.domain.MiaoshaOrder;
import com.bytic.miaosha.domain.MiaoshaUser;
import com.bytic.miaosha.domain.OrderInfo;
import com.bytic.miaosha.vo.GoodsVO;

public interface OrderService {

    public MiaoshaOrder getMiaoshaOrderByUserIdGoodsId(long userId, long goodsId);

    public OrderInfo createOrder(MiaoshaUser user, GoodsVO goodsVO);

    public OrderInfo getOrderById(long orderId);
}
